package com.et.core

import org.junit.Assert.assertEquals
import org.junit.Test

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun statusTest() {
        val status = 0
        val i = (status and 0xff) or (10 shl 8)
        val i1 = i shr 8 shl 8 or 123
        println(i1)
        println(i shr 8 and 0xff)
        println(i1 shl 24 shr 24)

    }
}